use 5.006;
use strict;
use warnings;
use Module::Build 0.36;

my $builder = Module::Build->new(
    module_name   => 'Plumage',
    dist_abstract => 'Generate website making eagle-i data more accesible',
    license       => 'bsd',
    dist_author => q{Anirvan Chatterjee <anirvan.chatterjee at ucsf dot edu>},
    dist_version_from => 'lib/Plumage.pm',
    build_requires    => { 'Test::More' => 0, },
    requires          => {
                  'perl'                           => 5.012,
                  'CHI'                            => 0,
                  'Config::Tiny'                   => 2.14,
                  'Cwd'                            => 0,
                  'Exporter'                       => 0,
                  'File::Copy::Recursive'          => 0.09,
                  'File::HomeDir'                  => 0.98,
                  'File::Remove'                   => 1.50,
                  'File::ShareDir::ProjectDistDir' => 0,
                  'File::Spec'                     => 3.33,
                  'File::Temp'                     => 0,
                  'Filesys::DiskUsage'             => 0,
                  'FindBin'                        => 0,
                  'HTTP::Request::Common'          => 0,
                  'JSON'                           => 0,
                  'LWP::Protocol::https'           => 0,
                  'LWP::Simple'                    => 0,
                  'LWP::Simple::WithCache'         => 0,
                  'LWP::UserAgent'                 => 1.06,
                  'LWP::UserAgent::Determined'     => 1.06,
                  'List::MoreUtils'                => 0.33,
                  'Log::Log4perl'                  => 1.33,
                  'Memoize'                        => 0,
                  'OWL::Simple::Parser'            => 1.01,
                  'Params::Validate'               => 1.00,
                  'Regexp::Common'                 => 2010010201,
                  'Search::Sitemap'                => 2.13,
                  'String::Approx'                 => 3.26,
                  'Template'                       => 2.22,
                  'Template::Stash::AutoEscaping'  => 0.0301,
                  'Text::Elide'                    => 0,
                  'Tree::Simple'                   => 1.18,
                  'URI'                            => 0,
                  'URI::Escape'                    => 0,
    },
    recommends         => { 'KSx::Simple' => 0 },
    share_dir          => 'share',
    add_to_cleanup     => ['Plumage-*'],
    create_makefile_pl => 'traditional',
);

$builder->create_build_script();
